Error

data class Error(val type: BlockState.Error.Type) : BlockState

There's an error preventing rendering.

Constructors

Link copied to clipboard
constructor(typeOrdinal: Int)
constructor(type: BlockState.Error.Type)

Types

Link copied to clipboard

Properties

Link copied to clipboard

The catalog error behind type, when the engine knows it, for example the code SCENE.LOTTIE_ARCHIVE_UNSAFE_PATH for a .lottie archive with an entry outside it. It has the fields of the EngineException that a failed call throws. null for an error that BlockApi.setState set, or that has no catalog error. It is not part of equals.

Link copied to clipboard